import http from '@/utils/request'

export const queryByCarId = (data) => {
  return http.get('/api/erp/oa/car/erpCarInfo/queryById', data)
}

export const generatedFormNumber = (data) => {
  return http.get('/api/erp/base/generatedFormNumber', data)
}

export const getUsingCarInfo = (data) => {
  return http.post('/api/erp/erpcarusing/erpCarUsing/getUsingCarInfo', data)
}

export const add = (data) => http.post('/api/erp/erpcarusing/erpCarUsing/add', data)
export const edit = (data) => http.put('/api/erp/erpcarusing/erpCarUsing/edit', data)
export const queryById = (data) => http.get('/api/erp/erpcarusing/erpCarUsing/queryById', data)
export const queryProjectReportById = (data) => http.get('/api/erp/project/report/erpProjectReport/queryById', data)
export const getBizHisProcessNodeInfo = (data) => http.get('/api/erpmng/act/process/extActProcessNode/getBizHisProcessNodeInfo', data)
export const checkUsingCar = (data) => http.get('/api/erp/erpcarusing/erpCarUsing/checkUsingCar', data)
